﻿@model ArunimaErp.Domain.styleinfo

@{
    ViewBag.Title = "Delete";

    Layout = null;
}

<div class="module_content">

<h4 class="alert_warning">Are you sure you want to delete this?</h4>

        <div id="left-column">
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.StyleNo)
            @Html.TextBoxFor(model => model.StyleNo, new { @readonly = "readonly" })
        </div>
        </fieldset>
        

        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.StyleDescription)
            @Html.TextAreaFor(model => model.StyleDescription, new { @readonly = "readonly" })
        </div>
        </fieldset>
        

        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.Capacity)
            @Html.TextBoxFor(model => model.Capacity, new { @readonly = "readonly" })
        </div>
        </fieldset>  
    
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.Sam)
            @Html.TextBoxFor(model => model.Sam, new { @readonly = "readonly" })
        </div>
        </fieldset>    
        
    </div>
    
    
    <div id="right-column">
        
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.devision.DevisionName)
            @Html.TextBoxFor(model => model.devision.DevisionName, new { @readonly = "readonly" })
        </div>
        </fieldset>   

        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.Febrication)
            @Html.TextBoxFor(model => model.Febrication, new { @readonly = "readonly" })
        </div>
        </fieldset>
    
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.BodyStyle)
            @Html.TextBoxFor(model => model.BodyStyle, new { @readonly = "readonly" })
        </div>
        </fieldset>
    
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.buyerinfo.BuyerName)
            @Html.TextBoxFor(model => model.buyerinfo.BuyerName, new { @readonly = "readonly" })
        </div>
        </fieldset>
            
        <fieldset>
        <div class="editor-field">
            @Html.LabelFor(model => model.customerinfo.CustomerName)
            @Html.TextBoxFor(model => model.customerinfo.CustomerName, new { @readonly = "readonly" })
        </div>
        </fieldset>

    </div>
</div>
@using (Ajax.BeginForm("Delete", "Style", new AjaxOptions
        {
            InsertionMode = InsertionMode.Replace, 
            HttpMethod = "POST",
            OnSuccess = "styleSuccess"
        }, new { @id = "StyleDialogeForm" }))
    {

    }
